﻿using System.ServiceModel;
using Ninject.Extensions.Interception.Infrastructure.Language;
using Ninject.Modules;
using NInject.Practice.Interceptor;

namespace NInject.Practice.NinjectModules
{
    public class MessageSenderModule: NinjectModule
    {
        public override void Load()
        {
            Bind<IMessageSender>().To<MessageSender>();

            Bind<IMessageProvider>().To<MessageProvider>();

            Bind<Application>().ToSelf();
        }
    }
}